package com.trkj.pojos;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;


/**
 * The persistent class for the HOSP_EMER_WAIT_DOCTOR database table.
 * 
 */
@Entity
@Table(name="HOSP_EMER_WAIT_DOCTOR")
@NamedQuery(name="HospEmerWaitDoctor.findAll", query="SELECT h FROM HospEmerWaitDoctor h")
public class HospEmerWaitDoctor implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="WAIT_DOCTOR_ID")
	private String waitDoctorId;

	@Column(name="SEQUENCE_")
	private BigDecimal sequence;

	@Column(name="STAFF_ID")
	private BigDecimal staffId;

	//bi-directional many-to-one association to HospEmerRegistration
	@ManyToOne
	@JoinColumn(name="EMER_REGISTRATION_ID")
	private HospEmerRegistration hospEmerRegistration;

	//bi-directional many-to-one association to Staff
	@ManyToOne
	@JoinColumn(name="STAFF_ID2")
	private Staff staff;

	public HospEmerWaitDoctor() {
	}

	public String getWaitDoctorId() {
		return this.waitDoctorId;
	}

	public void setWaitDoctorId(String waitDoctorId) {
		this.waitDoctorId = waitDoctorId;
	}

	public BigDecimal getSequence() {
		return this.sequence;
	}

	public void setSequence(BigDecimal sequence) {
		this.sequence = sequence;
	}

	public BigDecimal getStaffId() {
		return this.staffId;
	}

	public void setStaffId(BigDecimal staffId) {
		this.staffId = staffId;
	}

	public HospEmerRegistration getHospEmerRegistration() {
		return this.hospEmerRegistration;
	}

	public void setHospEmerRegistration(HospEmerRegistration hospEmerRegistration) {
		this.hospEmerRegistration = hospEmerRegistration;
	}

	public Staff getStaff() {
		return this.staff;
	}

	public void setStaff(Staff staff) {
		this.staff = staff;
	}

}